/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 张宇田
 * Date: 2024-11-03
 * Time: 16:27
 */
public class Test2 {

    if(tofind <usedsize && tofind >=0){
        return elem[tofind];
    }
    contains
    for(int i = 0,i < usedsize ,i ++){
        if(elem [tofind]= elem[i] ){
            return i;
        }
    }
    return false;
}
